package cc.wfu.feign.client;

import cc.common.types.response.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: jia-qiang ljq1024.cc
 * @desc: 用户相关 - feign接口
 * @Date: 2024-05-21-16:34
 */
@FeignClient("el-emporium-user-service")
public interface UserFeignClient {

    /** 通过用户名【email】查询用户信息 */
    @PostMapping("/api/v1/user/query/user/info")
    Response<String> queryUserByUsername(@RequestParam("email") String email);
}
